package day06;

public class Erweihe {
    public static void main(String[] args) {
        int[][] arr={{1,2},{3,5,9},{8,56,4}};
        int sum=0;
        for (int i = 0; i < arr.length; i++) {
            for (int j = 0; j < arr[i].length; j++) {
               sum+=arr[i][j];

            }
        }
        System.out.println(sum);
    }
}
